/**
 * @Author: ls-mac
 * @Date:   2018-10-11T15:55:23+08:00
 * @Last modified by:   ls-mac
 * @Last modified time: 2020-07-02 19:56:18
 */

import request from '../utils/reqaxios';

export async function loginService(params) {
  return request({
    url: '/login',
    method: 'post',
    data: params,
  });
}

export async function logout(params) {
  return request({
    url: '/logout',
    method: 'post',
    data: params,
  });
}
